package com.yeyks.commonReference.pojo.param.minivipcard;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author shuai
 * @date 2020/01/07 15:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MiniCardWithdrawalParam implements Serializable {

    private static final long serialVersionUID = 5367755559471756434L;
    @ApiModelProperty(value = "账户id")
    private Integer accountId;
    @ApiModelProperty(value = "账户类型")
    private Integer accountType;
    @ApiModelProperty(value = "比如一周提两次，days为 7 count为 2")
    private Integer days;
    @ApiModelProperty(value = "比如一周提两次，days为 7 count为 2")
    private Integer count;
    @ApiModelProperty(value = "默认不填表示全部", hidden = true)
    private Integer amount;

    public MiniCardWithdrawalParam(Integer accountId, Integer accountType, Integer days, Integer count) {
        this.accountId = accountId;
        this.accountType = accountType;
        this.days = days;
        this.count = count;
    }
}
